﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace LinqToBing.Bing.Wrapper.Enums
{
    /// <summary>
    /// Enum that identify the kind of search to do.
    /// </summary>
    /// <remarks>This values can be combined to do a multiple kind search.</remarks>
    [DefaultValue(SearchSource.Web)]
    public enum SearchSource
    {
        /// <summary>
        /// Unknown value is not really present in Bing, but added here for application management
        /// </summary>
        Unknown = -1,
        /// <summary>
        /// Searches for web content
        /// </summary>
        Web = 0,
        /// <summary>
        /// Searches for images on the web.
        /// </summary>
        Image = 1,
        /// <summary>
        /// Searches news stories.
        /// </summary>
        News = 2,
        /// <summary>
        /// Searches Encarta online.
        /// </summary>
        InstantAnswer = 3,
        /// <summary>
        /// Searches Encarta dictionary for spelling suggestions.
        /// </summary>
        Spell = 4,
        /// <summary>
        /// Searches phonebook entries.
        /// </summary>
        Phonebook = 5,
        /// <summary>
        /// Returns the query strings most similar to yours.
        /// </summary>
        RelatedSearch = 6,
        /// <summary>
        /// Returns advertisements to incorporate with results.
        /// </summary>
        Ad = 7,
        /// <summary>
        /// Returns mobile Web search results, primarily XHTML or WML pages relevant to the queried term.
        /// </summary>
        MobileWeb = 8,
        /// <summary>
        /// Get videos relevant to your search terms.
        /// </summary>
        Video = 9
    }
}
